﻿using Microsoft.EntityFrameworkCore;
using RepositoryEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepositoryDal
{
    /// <summary>
    /// 角色数据库访问层接口
    /// </summary>
    public interface IRoleInfoDal : IBaseDal<RoleInfo>
    {
       
        /// <summary>
        /// 更新角色信息
        /// </summary>
        /// <param name="roleInfo"></param>
        /// <returns></returns>
        //bool UpdateRoleInfo(RoleInfo roleInfo);

        /// <summary>
        /// 获取单个角色
        /// </summary>
        /// <param name="roleInfoId"></param>
        /// <returns></returns>
        //RoleInfo GetRoleInfo(string roleInfoId);

        /// <summary>
        /// 获取角色集合
        /// </summary>
        /// <returns></returns>
        //List<RoleInfo> GetRoleInfos();
        //public DbSet<RoleInfo> GetRoleInfosDb();
    }
}
